package com.xyy.dfapi;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.xyy.dfapi.*"})
@EnableAsync
@EnableScheduling
@Slf4j
public class DfApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(DfApiApplication.class, args);
        log.info("ERP对接程序启动成功!!!!");
        log.info("ERP对接程序启动成功!!!!");
        log.info("ERP对接程序启动成功!!!!");
        log.info("ERP对接程序启动成功!!!!");
        log.info("ERP对接程序启动成功!!!!");
    }
}
